<?php
	/*
	 * AJAX call to reset a publicity message so it gets loaded again.
	 *
	 * Variables:
	 *   id (int) : Record ID of the  message
	 *
	 * Returns: void
	 *
	 */

	header('Content-type: text/plain');
	mysql_query("UPDATE publicity SET pubLoadedAt=\"0000-00-00 00:00:00\" WHERE pubID=".round($_GET["id"])." LIMIT 1");
?>